This section describes any additional configuration steps that you need to perform after installing Nways Manager for AIX.
Nways Manager Element Manager supports the following IBM networking hardware:
Note: | For the most up-to-date information on hardware supported by Nways Manager
Element Manager, see our Web page at:
http://www.networking.ibm.com/netmgt |
These device managers consist of Nways Web pages (both HTML and Java) and can be used at the local management workstation or from JDK 1.1.5-compliant Web browsers running on any platform from anywhere in your enterprise.
The Java-based managers use a Web browser to display their HTML help panels. If the Web browser is installed in a directory that is not included in the search path, then you will not be able to access the online help. The installation program assumes that you are using Netscape as your Web browser.
To use a Web browser other than Netscape or to specify a browser that is not in the search path, edit the /usr/CML/JMA/java/websvr/properties/BrowserApplet.txt file and specify the fully qualified name for the Web browser on the following line:
webBrowser.path=
Some IBM networking products include a configuration program. Nways Manager allows you to launch these configuration programs from the device's JMA.
In order to launch the configuration program from the JMA, Nways Manager must know the location of the configuration tool on the network management workstation. For configuration tools shipped after July 1998, this information is automatically updated when the configuration tool is installed.
To locate older versions of configuration tools, Nways Manager includes the Config Tool Locator, which locates existing versions of configuration tools already installed on the network management workstation. You should run the Config Tool Locator when you install Nways Manager, and again after each installation of a configuration tool that originally shipped prior to July 1998.
To run the config tool locator, from SMIT, select
Nways Campus Manager->Configure->Config Tool Locator
If the Config Tool Locator is unable to find a configuration tool that is loaded on the network management workstation, you can add the location of the program to the list of known programs using the following procedure:
There are three basic components involved in Web browser-based access to the device managers:
The Nways Manager maintains the Nways Web pages that are sent from the Web server to the Web browser clients.
You can run Java device management applications in client mode on stations connected to the network management station without configuring a Web server, but for true intranet access through a Web browser, you must configure your Web server to locate the Nways Java Management Web pages subdirectory.
Web servers supported for the Nways Web access include:
On the network management station, you must:
/usr/CML/JMA/java/websvr.
Before you can use the ATM Manager via a Web browser, you must configure your Web server. The following configuration for the Lotus Domino server can be used as a guide if you are using another server.
Exec /atm-bin/* /usr/CML/ATMWEB/bin/* Pass /atm-html/* /usr/CML/ATMWEB/html/* Pass /* /a directory path/*
refresh -s httpd
Java support comes with your browser. The Web browser can dynamically load the Java application.
Java communication uses the IP host name and not the IP address, therefore both the client and server need the correct host names to which they are communicating. If the client is dynamically assigned an IP address, ensure that this IP address is associated with your client's IP host name. This process works correctly with Dynamic Host Configuration Protocol (DHCP).
If your client uses the PPP protocol to connect to the server, the client will be dynamically assigned both an IP address and an IP host name. In this situation, Windows(R) 3.x, Windows NT(R), or Windows 95) do not provide the correct IP host name to the Java applications running in the client. Hence, the Java applications will not provide the correct IP host name to the server and the server will not be able to send asynchronous (unsolicited) events to the client. To correct this problem, change the IP host name on the Windows client to the value "localhost" for the PPP connection's TCP/IP protocol. The Java code in the Windows client will then provide the server with the correct (dynamically assigned) IP host name.
When you access the Nways Web pages, your browser may ask if you want to allow unsigned applets. To use the Web functions of the Nways Manager, you must allow unsigned applets.
Note: | If you are using the HotJava(TM) Browser, you must start it using the
following parameters:
hotjava -mx64M |
The Element Manager provides DIAs that can be placed in remote Java-enabled workstations to off-load performance management polling for these device managers.
The recommended JDK for use with the DIAs is 1.1.6.
Refer to the following readme file for complete instructions:
/usr/CML/JMA/dia/readme.txt
Performance management for these device managers uses a Java Database Connectivity (JDBC)-compliant database. For your convenience, DB2 Universal Database(R) is provided.
You will need to create a database instance that can be accessed using JDBC by the device managers. The following steps show how to do this using DB2(R) (the concept is the same if you are using another JDBC-compliant database, but you will need to refer to that database's instructions): Before installing DB2, create the following AIX group and user definitions using the SMIT -> Security and Users menu:
This group will be used for the DB2 Instance and Administrative Server.
Using SMIT, the Add Group menu requires the name to be entered first. After entering the name, set the Administrative Group field to True.
This is the DB2 Instance Owner.
Using SMIT, enter the name of the user to be added first, then complete only the following fields:
ADMINISTRATIVE USER = true Primary group = nwaysdb2 Group SET = nwaysdb2,system ADMINISTRATIVE GROUP = nwaysdb2
This is the owner of the Administrative Server. This value is optional.
Follow the same steps used to define the user nwaysdb2, using the user name nwaysadm.
Modify the existing user definition for root to add nwaysdb2 to the Group SET.
After you have completed these changes, use the following commands to confirm the correct settings of the new group and users:
lsgroup nwaysdb2 lsgroup system
All three users should show up as users in both groups.
mount -r -v cdrfs /dev/cd0 /mntYou can install using SMIT or the db2setup script included on the CD. Installing using the script assists you in selecting the components to install and allows you to set up users during installation.
Select the Universal Enterprise Database option to install. You can select only one major product group.
Use the spacebar to choose options. When you have completed a panel click OK.
Click OK when you are done.
cd /home/nwaysdb2 chown nwaysdb2:nwaysdb2 .profile
Note: | The next two steps refer to the application of a PTF to DB2. You must
apply this PTF before configuring DB2 for use with Nways Manager.
If you choose not to install the PTF now, you can skip the next two steps and complete the installation. If you install the PTF at a later date, you must then rebind the DB2 files. |
In the United States and Canada, call 1-800-237-5511 to request the DB2 APAR. Outside the United States and Canada, contact your country support representative.
You can also download the APAR at:
http://www.software.ibm.com/data/db2/db2tech/version5.html
. sqllib/db2profile
db2set -i nwaysdb2 DB2AUTOSTART=YES
db2start
db2
CREATE DATABASE IBMNMPDB
QUIT
cd /usr/CML/JMA/websvr/code jar -xvf /usr/lpp/db2_05_00/java/db2java.zip
PATH=/home/nwaysbd2/sqllib/bin:/home/nwaysdb2/ sqllib/adm:/home/nwaysdb2/sqllib/misc
DB2DIR=/usr/lpp/db2_05_00 DB2INSTANCE=nwaysdb2 LD_LIBRARY_PATH=/home/nwaysdb2/sqllib/lib
rcdb2:2:once:/etc/rc.db2 > /dev/console 2>scriptimmediately before the line equivalent to:
rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>script
/usr/CML/JMA/bin/dpadmin
The dpadmin and dpconfig screens show the polling list, templates, reports, and other features. Once the collection is started, you can close this window and the collection will continue running. To stop the collection, reopen this window and click on Stop Collection.
In addition to DB2, IBM has successfully tested JPM with the following databases:
If you do not need to collect performance statistics, you can reduce the workload of the Nways Manager workstation and eliminate some network traffic by turning off performance polling.
To do this:
ovstop JMAintegrator
# The services property identifies the service classes to be started # when the JDM server is started. # ibm.nways.jdm.TrapCatcher \ services=ibm.nways.jdm.RemoteModelFactoryManager \ ibm.nways.jdm.modelgen.InstrContextFactoryMgr \ ibm.nways.jdm.SnmpService \ ibm.nways.jdm.browser.BrowserService \ ibm.nways.perfhook.PerfService \ ibm.nways.jdm.traceroute.TraceRouteService \ ibm.nways.perfhook.ModelListener
to:
# The services property identifies the service classes to be started # when the JDM server is started. # ibm.nways.jdm.TrapCatcher \ # ibm.nways.perfhook.PerfService \ services=ibm.nways.jdm.RemoteModelFactoryManager \ ibm.nways.jdm.modelgen.InstrContextFactoryMgr \ ibm.nways.jdm.SnmpService \ ibm.nways.jdm.browser.BrowserService \ ibm.nways.jdm.traceroute.TraceRouteService \ ibm.nways.perfhook.ModelListener \
ovstart JMAintegrator
In addition to minimizing both network traffic and the size of your performance database, stopping automatic polling will have these effects:
To restore automatic polling, reverse the changes described above to return the JdmServerProperties.txt file to its original state.
Note: | Over-polling devices can result in degradation of performance for both the device and the device-management application. If you encounter these types of performance degradation, review your polling configuration. |
All the Web servers have to be configured to listen to the client on port 80 (the default port in most of the servers).
Add the following lines in the given order to the file:
/Server_root/conf/srm.conf. Alias /nways "/Nways_root/CML/JMA/java/websvr" Alias /cgi/code "/Nways_root/CML/JMA/java/websvr/code" ScriptAlias /cgi "/Nways_root/CML/JMA/java/websvr"
Server_root: The directory where the Apache Websvr is installed.
Nways_root: The directory where the Nways product is installed.
Select Additional Document Directories and add the following lines:
URL prefix: nways Map To Directory: /Nways_root/CML/JMA/java/websvr
URL prefix: cgi Map To Directory: /Nways_root/CML/JMA/java/websvr
http://Machine/Frntpage.html(Machine--where you have installed the Domino Web Server.)
(http://Machine/admin-bin/Cfgin/initial)
(http://Machine/admin-bin/Cfgin/mpfrule)
Action | Request Template | Replacement File Path |
---|---|---|
Pass |
/nways/* |
/Nways_root/CML/JMA/java/websvr/* |
Exec |
/cgi/CgiLauncher* |
/Nways_root/CML/JMA/java/websvr/CgiLauncher* |
Pass |
/cgi/* |
/Nways_root/CML/JMA/java/websvr/* |
Before you can use the ATM Manager via a Web browser, you must configure your Web server as follows:
Exec /atm-bin/* /usr/CML/ATMWEB/bin/* Pass /atm-html/* /usr/CML/ATMWEB/html/* Pass /* /a directory path/*
refresh -s httpd
Before you can use Remote Monitor, you must set the RMONHOME environment variable to point to the directory where it has been installed. It is installed by default in /usr/LANReMon/rmon. To set the RMONHOME environment variable in your .profile and add it to your default path, add the following to your .profile:
RMONHOME=/usr/LANReMon/rmon export RMONHOME PATH=$RMONHOME:$PATH export PATH
Before you can use Traffic Monitor, you must set the TRAFFICMONHOME environment variable to point to the directory where it has been installed. It is installed by default in /usr/LANReMon/trafficmon. To set the TRAFFICMONHOME environment variable in your .profile and add it to your default path, add the following to your .profile:
TRAFFICMONHOME=/usr/LANReMon/trafficmon export TRAFFICMONHOME PATH=$TRAFFICMONHOME:$PATH export PATH
Before starting Traffic Monitor, you must also create the following database:
/usr/LANReMon/trafficmon/tfm_dbcreate <db_dir> <db_link> ln -s <db_dir>.dbs /usr/LANReMon/trafficmon/<db_link>.dbs
Where <db_dir> is the directory where the database will be stored, and <db_link> is the name of the database and the name of the link that must be created in the /usr/LANReMon/trafficmon directory.
The <db_link> is normally tfm and the actual link name is tfm.dbs.
Nways Deployment Manager requires the creation of a DB2 database with a database name, user ID, and password all set to ConfigMan.